package factory;

import model.FarmMachine;
import model.Harvester;

/**
 * 收割机工厂实现
 */
public class HarvesterFactory implements FarmEquipmentFactory {
    @Override
    public FarmMachine createEquipment(String name) {
        //System.out.println("创建收割机: " + name);
        return new Harvester(name);
    }
}
